            
        </div>

        <script type="text/javascript">
            //<![CDATA[ 
                window.onerror = window.defaultOnError;
            //]]> 
        </script>​
        <?php foreach ($js as $url): ?>
        <script type="text/javascript" src="<?php echo $url; ?>"></script> 
        <?php endforeach; ?>
        <script type="text/javascript">
            var aInlineJS =document.getElementById("wrapper").getElementsByTagName('SCRIPT');
                iTotal = aInlineJS.length;
            for(var i=0; i < iTotal;i++) {
                eval( aInlineJS[i].innerHTML );
            }
        </script>
    </body>
</html>